<template>
	<span class="">
		{{ fmtTime(date, 'h:mm A') }}
	</span>
</template>

<script lang="ts" setup>
import { fmtTime } from '@/utils'
defineProps({
	date: {
		type: [Date, String, Number],
		default: null
	}
})
</script>
